/*
 * @Author: Automator
 * @Date: 2018-05-22 18:19:08
 * @description: 
*/

 const  api = {

     /*
     * 方法描述:获取三方中介列表,请求方式:GET,参数:eventAgencySearchDto,返回值:JsonResult<PageResult<EventAgencyVO>>,是否可用:ok
     * @param pageParam.pageIndex    Required:[false]  Type:[integer]  Location:[query]
     * @param pageParam.pageSize    Required:[false]  Type:[integer]  Location:[query]
     * @param eventId  事件id  Required:[false]  Type:[integer]  Location:[query]
     * @param agencyType  三方中介类型 5-投行 6-律所 7-会所 13-保荐机构  Required:[false]  Type:[integer]  Location:[query]
     */
    'eventAgencyPage': {url: '/cms/v2/api/event/agencys', method: 'get'},

     /*
     * 方法描述:删除三方中介,请求方式:DELETE,参数:id,返回值:JsonResult,是否可用:ok
     * @param id  id  Required:[true]  Type:[integer]  Location:[path]
     * @param tokenUserId  tokenUserId  Required:[false]  Type:[string]  Location:[query]
     */
    'deleteEventAgency': {url: '/cms/v2/api/event/agency/{id}', method: 'delete'},

     /*
     * 方法描述:添加三方中介,请求方式:POST,参数:eventAgencyDto,返回值:JsonResult<Long>,是否可用:ok
     * @param eventAgencyDto  eventAgencyDto  Required:[true]  Type:[]  Location:[body]
     * @param tokenUserId  tokenUserId  Required:[false]  Type:[string]  Location:[query]
     */
    'saveEventAgency': {url: '/cms/v2/api/event/agency', method: 'post'},

     /*
     * 方法描述:编辑三方中介,请求方式:PUT,参数:eventAgencyDto,返回值:JsonResult,是否可用:ok
     * @param eventAgencyDto  eventAgencyDto  Required:[true]  Type:[]  Location:[body]
     * @param tokenUserId  tokenUserId  Required:[false]  Type:[string]  Location:[query]
     */
    'updateEventAgency': {url: '/cms/v2/api/event/agency', method: 'put'},

};

 export default api;
